package com.ruoyi.basic.domain;

import com.baomidou.mybatisplus.annotation.*;

import javax.validation.constraints.NotBlank;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 员工图片对象 basic_image
 * 
 * @author ruoyi
 * @date 2021-12-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("basic_image")
public class BasicImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    @TableId(type = IdType.AUTO)
    private Long imageId;

    /** 用户id */
    private Long userId;

    @TableField(exist = false)
    private String userNo;

    @TableField(exist = false)
    @Excel(name = "员工姓名")
    private String userName;

    @TableField(exist = false)
    @Excel(name = "身份证号")
    private String idCard;

    @TableField(exist = false)
    private Long deptId;

    /** 图片类型 */
    @Excel(name = "图片类型", dictType = "basic_image_type")
    private String imageType;

    /** 图片路径 */
    private String imageFile;

    @TableField(exist = false)
    private String imageContent;

    /** 删除标志 */
    @TableLogic
    private String delFlag;

}
